package com.yidianyanglao.shop.bean;

import java.util.Date;

/**
 *
 * 商户接口，添加数据
 * Created by Administrator on 2016/11/7.
 */
public class Order {

    private int id;
    private int consumptionId;    //消费者关联用户id
    private String consumptionName;  //消费者姓名
    private String consumptionMobile;  //消费者电话号澳门

    private int shopId;            //商户id
    private String shopName;       //商户名称

    private int businessId;        //商户id
    private String businessName;   //商户姓名


    private int seriesId;          //系列id
    private String seriesName;     //系列名称

    private String createdate;     //订单产生时间
    private double amountvalue;    //消费金额

    private String ordernumber;     //订单编号
    private String resource;        //订单来源
    private int orderstate;         //订单状态
    private String consumptionCertificate;   //消费凭证

    private double let_radio;       //让利比例
    private double let_value;       //让利金额

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getConsumptionId() {
        return consumptionId;
    }

    public void setConsumptionId(int consumptionId) {
        this.consumptionId = consumptionId;
    }

    public String getConsumptionName() {
        return consumptionName;
    }

    public void setConsumptionName(String consumptionName) {
        this.consumptionName = consumptionName;
    }

    public String getConsumptionMobile() {
        return consumptionMobile;
    }

    public void setConsumptionMobile(String consumptionMobile) {
        this.consumptionMobile = consumptionMobile;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public int getBusinessId() {
        return businessId;
    }

    public void setBusinessId(int businessId) {
        this.businessId = businessId;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public int getSeriesId() {
        return seriesId;
    }

    public void setSeriesId(int seriesId) {
        this.seriesId = seriesId;
    }

    public String getSeriesName() {
        return seriesName;
    }

    public void setSeriesName(String seriesName) {
        this.seriesName = seriesName;
    }

    public String getCreatedate() {
        return createdate;
    }

    public void setCreatedate(String createdate) {
        this.createdate = createdate;
    }

    public double getAmountvalue() {
        return amountvalue;
    }

    public void setAmountvalue(double amountvalue) {
        this.amountvalue = amountvalue;
    }

    public String getOrdernumber() {
        return ordernumber;
    }

    public void setOrdernumber(String ordernumber) {
        this.ordernumber = ordernumber;
    }

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

    public int getOrderstate() {
        return orderstate;
    }

    public void setOrderstate(int orderstate) {
        this.orderstate = orderstate;
    }

    public String getConsumptionCertificate() {
        return consumptionCertificate;
    }

    public void setConsumptionCertificate(String consumptionCertificate) {
        this.consumptionCertificate = consumptionCertificate;
    }

    public double getLet_radio() {
        return let_radio;
    }

    public void setLet_radio(double let_radio) {
        this.let_radio = let_radio;
    }

    public double getLet_value() {
        return let_value;
    }

    public void setLet_value(double let_value) {
        this.let_value = let_value;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", consumptionId=" + consumptionId +
                ", consumptionName='" + consumptionName + '\'' +
                ", consumptionMobile='" + consumptionMobile + '\'' +
                ", shopId=" + shopId +
                ", shopName='" + shopName + '\'' +
                ", businessId=" + businessId +
                ", businessName='" + businessName + '\'' +
                ", seriesId=" + seriesId +
                ", seriesName='" + seriesName + '\'' +
                ", createdate='" + createdate + '\'' +
                ", amountvalue=" + amountvalue +
                ", ordernumber='" + ordernumber + '\'' +
                ", resource='" + resource + '\'' +
                ", orderstate=" + orderstate +
                ", consumptionCertificate='" + consumptionCertificate + '\'' +
                ", let_radio=" + let_radio +
                ", let_value=" + let_value +
                '}';
    }
}
